|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<FurnEntry>
furny.ga.FurnEntryList
public class FurnEntryList
This is a list for furniture entries.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
FurnEntryList()
Creates an empty list. |
|
FurnEntryList(java.util.Collection<FurnEntry> c)
Creates a list and copies furniture entries from the given list. |
Method Summary | |
---|---|
FurnEntryList |
clone()
|
boolean |
containsFurniture(Furniture f)
Searches all furniture entries for the given furniture. |
FurnEntryList |
getEntries(Furniture f)
Getter for all furniture entries with the given furniture. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public FurnEntryList(java.util.Collection<FurnEntry> c)
c
- List to copy.public FurnEntryList()
Method Detail |
---|
public boolean containsFurniture(Furniture f)
f
- The furniture to search.
true
, if contained.public FurnEntryList getEntries(Furniture f)
f
- The furniture to search.
public FurnEntryList clone()
clone
in class java.util.ArrayList<FurnEntry>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |